<template>
  <hpro-container-home :navbar="navbar"></hpro-container-home>
</template>

<script>
export default {
  data () {
    return {
      navbar: {}
    }
  },
  created () {
    this.setNavbar()
  },
  methods: {
    setNavbar () {
      const navbar = {
        title: '客户',
        menu: [
          {
            link: '/home/user/customer',
            name: '我的会员'
          },
          {
            link: '/home/user/card',
            name: '会员卡'
          },
          {
            link: '/home/user/bonus',
            name: '会员积分'
          },
          {
            link: '/home/user/balance',
            name: '会员储值'
          },
          {
            link: '/home/user/tags',
            name: '会员标签'
          }
        ]
      }
      this.navbar = navbar
    }
  }
}
</script>
